<template>
  <div>
    <LayoutCommonSection>
      <UiFormEdition
        :model="ResidenceArea"
        go-back-route="/parameters/residence_areas"
      >
        <template #default="{ entity }">
          <FormParameterResidenceArea v-if="entity !== null" :entity="entity" />
        </template>
      </UiFormEdition>
    </LayoutCommonSection>
  </div>
</template>

<script setup lang="ts">
import ResidenceArea from '~/models/Billing/ResidenceArea'

definePageMeta({
  name: 'edit_resident_area',
})
</script>
